﻿using System;
using System.Collections.Generic;
using System.Text;

namespace C4F.DevKit.Bluetooth
{
    namespace FileTransferProfile
    {

        /// <summary>
        /// EventArgs class to be used when an SetCurrentDirectory operation 
        /// begins.
        /// </summary>
        public class SetCurrentDirectoryBeginEventArgs : EventArgs
        {
            #region Private Members

            /// <summary>
            /// The location of the folder on remote device that is to be 
            /// set as current folder.
            /// </summary>
            private string remFolderPath;

            /// <summary>
            /// The user-supplied state object supplied when the 
            /// asynchronous operation was requested.
            /// </summary>
            private object userState;

            #endregion

            #region Public Properties

            /// <summary>
            /// Gets the location of the folder on remote device that is to be 
            /// set as current folder.
            /// </summary>
            public string RemoteFolderPath
            {
                get
                { return this.remFolderPath; }
            }

            /// <summary>
            /// Gets the user-supplied state object supplied when the 
            /// asynchronous operation was requested.
            /// </summary>
            public object UserState
            {
                get
                { return this.userState; }
            }

            #endregion

            #region Constructor
            /// <summary>
            /// Initializes the GetFileBeginEventArgs object.
            /// </summary>
            /// <param name="remoteFolderPath">The location of the folder 
            /// on remote device that is to be set as current folder.</param>
            /// <param name="userState">The user-supplied state object
            /// supplied when the asynchronous operation was requested.</param>
            public SetCurrentDirectoryBeginEventArgs(string remoteFolderPath, object userState)
                : base()
            {
                this.remFolderPath = remoteFolderPath;
                this.userState = userState;
            }
            #endregion
        }
    }
}